Skip to content

Fix exception handler for Notify errors in ApplicationController#3285

Open
hezzimo wants to merge 2 commits into
mainfrom
fix-notify-bad-request-handler
Open

Fix exception handler for Notify errors in ApplicationController#3285
hezzimo wants to merge 2 commits into
mainfrom
fix-notify-bad-request-handler

Conversation

@hezzimo
Copy link
Copy Markdown
Contributor

@hezzimo hezzimo commented May 5, 2026

  • Logic for this contradicted the comment and would surely result in exceptions being raised in non-prod environments rather than being handled gracefully.
  • User (dev) friendly 'Team only key' errors would be raised in prod, not in staging or integration

Hopefully, this PR can correct the above so that we can use the team-only Notify key more effectively in Integration.

Needs manual testing in integration to ensure that we can send emails to team members.

@hezzimo hezzimo force-pushed the fix-notify-bad-request-handler branch 5 times, most recently from daee2a6 to 7737865 Compare May 7, 2026 15:30
Copy link
Copy Markdown
Contributor

@young-rob young-rob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good - worth deploying this to integration and seeing what happens when you try to submit to an invalid recipient with the team only api key

hezzimo added 2 commits May 8, 2026 15:54
- Logic for this contradicted the comment and would surely result in exceptions being raised in non-prod environments
- User (dev) friendly 'Team only key' errors would be raised in prod, not in staging or integration
@hezzimo hezzimo force-pushed the fix-notify-bad-request-handler branch from 7737865 to 5216e2a Compare May 8, 2026 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants